#ifndef __OLED_H__
#define __OLED_H__

#include "iic.h"


#define SIZE 16
#define XLevelL         0x02
#define XLevelH         0x10
#define Max_Column      128
#define Max_Row         64
#define Brightness      0xFF
#define X_WIDTH         128
#define Y_WIDTH         64

void delay(unsigned int z);
void write_cmd(cmd);
void write_dat(dat);
void Set_add(unsigned char x, unsigned char y);
void OLED_Init(void);
void OLED_ShowChar(unsigned char x,unsigned char y,unsigned char chr,unsigned char Char_Size);
void OLED_Display_On(void);
void OLED_Display_Off(void);
void OLED_Clear(void);
void OLED_On(void);

#endif